package com.lt.basic.project.pojo.validate.mino.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * la_user_visits更新对象
 * @author ：LT
 * @Created in : 2023-08-31
 */
@Data
@ApiModel(value="UserVisits更新对象", description = "更新对象")
public class UserVisitsUpdateValidate implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * id
     */
    @NotNull(message = "id参数缺失")
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 用户id
     */
    @NotNull(message = "用户id参数缺失")
    @ApiModelProperty(value = "用户id")
    private Long userId;
    /**
     * 请求类型: GET/POST/PUT
     */
    @NotNull(message = "请求类型: GET/POST/PUT参数缺失")
    @ApiModelProperty(value = "请求类型: GET/POST/PUT")
    private String type;
    /**
     * 请求IP
     */
    @NotNull(message = "请求IP参数缺失")
    @ApiModelProperty(value = "请求IP")
    private String ip;
    /**
     * 请求接口
     */
    @NotNull(message = "请求接口参数缺失")
    @ApiModelProperty(value = "请求接口")
    private String url;
    /**
     * 请求方法
     */
    @NotNull(message = "请求方法参数缺失")
    @ApiModelProperty(value = "请求方法")
    private String method;
    /**
     * 请求参数
     */
    @ApiModelProperty(value = "请求参数")
    private String args;


}